
import absdragsvc from "./absdragsvc";

class MultiStarDragDropSvc extends absdragsvc.AbsDragSvc{
    assignProp(worldPos,mapscale){
        let graph = this.graph;
        let fulltoolKind = graph.getType();
        let starIndex = fulltoolKind & 0x000000ff;

        graph.innerRadius = 30;
        if (starIndex == 3){
            graph.innerRadius = 10;
        }
        graph.centerPt.clone(worldPos);
        graph.width = 120;
        graph.height = 120;
        graph.starCount = starIndex;
        graph.initData(mapscale);
    }
}
export default{MultiStarDragDropSvc}